def fib(n):
    if n == 0 or n == 1:
        return 1
    else:
        return n * fib(n-1)
print(fib(n)) 
